#!/bin/sh

JARS="jl mp3spi cortado tritonus_share vorbisspi jspeex jflac basicplayer kj_dsp jlgui commons-logging-api jmactritonusspi"

#workaround for broken tritonus:
CLASSPATH=/var/spool/jlgui/tritonus_share.jar

#another workaround for broken tritonus:
CLASSPATH=$CLASSPATH:/usr/lib/kaffe/jre/lib/rt.jar

for FILE in $JARS; do
  CLASSPATH=$CLASSPATH:/usr/share/java/$FILE.jar
done

exec java -classpath $CLASSPATH javazoom.jlgui.player.amp.StandalonePlayer
